package com.mjh.zhujianju.model.supervise;

import java.text.DateFormat;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.livew.framework.base.model.BaseModel;
import io.swagger.annotations.ApiModelProperty;

public class SupervisionEO extends BaseModel {
    // 1: 内部工作、2：信访工作
    private String type;

    // 标题
    private String title;

    // 信访人员ID
    private Long userId;

    // 紧急程度
    @ApiModelProperty(hidden = true)
    private Integer urgencyDegree;

    @ApiModelProperty(hidden = true)
    private String status;
    
    /**
     * @see com.mjh.zhujianju.enums.SupervisionScheduleEnum
     */
    private String schedule;//完成情况
    
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date completeTime; //完成时间


    private String content;


    
    private static final long serialVersionUID = 1L;

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取1: 内部工作、2：信访工作
     *
     * @return type - 1: 内部工作、2：信访工作
     */
    public String getType() {
        return type;
    }

    /**
     * 设置1: 内部工作、2：信访工作
     *
     * @param type 1: 内部工作、2：信访工作
     */
    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    /**
     * 获取标题
     *
     * @return title - 标题
     */
    public String getTitle() {
        return title;
    }

    /**
     * 设置标题
     *
     * @param title 标题
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * 获取信访人员ID
     *
     * @return user_id - 信访人员ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置信访人员ID
     *
     * @param userId 信访人员ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取紧急程度
     *
     * @return urgency_degree - 紧急程度
     */
    public Integer getUrgencyDegree() {
        return urgencyDegree;
    }

    /**
     * 设置紧急程度
     *
     * @param urgencyDegree 紧急程度
     */
    public void setUrgencyDegree(Integer urgencyDegree) {
        this.urgencyDegree = urgencyDegree;
    }

    /**
     * @return status
     */
    public String getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

	public Date getCompleteTime() {
		return completeTime;
	}

	public void setCompleteTime(Date completeTime) {
		this.completeTime = completeTime;
	}

	public String getSchedule() {
		return schedule;
	}

	public void setSchedule(String schedule) {
		this.schedule = schedule;
	}
    
    
}